package controllers

import (
	"github.com/gin-gonic/gin"
	"lottery/services"
	"net/http"
)

// 后台管理控制器创建
type AdminController struct {
	ServiceUser    services.UserService
	ServiceGift    services.GiftService
	ServiceCode    services.CodeService
	ServiceResult  services.ResultService
	ServiceUserday services.UserdayService
	ServiceBlackip services.BlackipService
}

// 编写action
// 返回页面模板
func (adc *AdminController) Get(c *gin.Context) {
	c.HTML(http.StatusOK, "admin/index", gin.H{
		"Title":   "大转盘",
		"Channel": "",
	})
}
